﻿<Window x:Class="Xnaml.Demo.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Xnaml Demo" Height="480" Width="640" xmlns:my="clr-namespace:Xnaml.Demo;assembly=Xnaml.Demo.XPG" xmlns:my1="clr-namespace:Xnaml;assembly=Xnaml" ResizeMode="CanMinimize"
        Icon="XNAML.png"
        >
    <Grid>
        <Grid.Background>
            <ImageBrush ImageSource="/Xnaml.Demo;component/XNAML%20Background.png" />
        </Grid.Background>
        <Border BorderBrush="#FF212121" BorderThickness="4" HorizontalAlignment="Center"
                VerticalAlignment="Center"
                Width="320"
                Height="280" CornerRadius="4" Margin="12,12,286,149">
            <my:XPG Height="280" HorizontalAlignment="Center" Name="XNAGame" VerticalAlignment="Top" Width="320" ClipToWindow="True" ShrinkToFit="True" Broadcast="XNAGame_Broadcast">
                <Canvas>
                    <Button Canvas.Left="100" Canvas.Top="114" Content="Warp in Gohan" Height="49" Name="GohanAppear" Width="111" Click="GohanAppear_Click" />
                </Canvas>
            </my:XPG>
        </Border>
        
        <TextBox Height="43" HorizontalAlignment="Left" Margin="12,319,0,0" Name="BroadcastReciever" VerticalAlignment="Top" Width="320" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Background="{x:Null}" TextWrapping="Wrap" TextAlignment="Center" Foreground="White" />
        <Image Height="58" HorizontalAlignment="Left" Margin="527,12,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="79" Source="/Xnaml.Demo;component/XNAML.png" />
        <Button Content="Power Up!" Height="52" HorizontalAlignment="Left" Margin="419,186,0,0" Name="GohanPower" VerticalAlignment="Top" Width="111" Visibility="Hidden" Click="GohanPower_Click" />
        <TextBlock Text="Sprites Ripped by Belial [ http://www.spriters-resource.com/snes/dbzhypdimen/sheet/45664 ]&#x0a;XNA Font Manaspace by codeman38 [ http://www.zone38.net/font/#mana ]" TextAlignment="Center"  Height="38" HorizontalAlignment="Left" Margin="0,403,0,0" Name="label1" VerticalAlignment="Top" Width="618" Foreground="White" FontSize="11" />
    </Grid>
</Window>
